Skip to content

Add media type to asset discovery confs#171

Merged
ricardogsilva merged 6 commits into
NaturalGIS:mainfrom
ricardogsilva:170-add-media-type-to-asset-discovery-confs
Jul 22, 2026
Merged

Add media type to asset discovery confs#171
ricardogsilva merged 6 commits into
NaturalGIS:mainfrom
ricardogsilva:170-add-media-type-to-asset-discovery-confs

Conversation

@ricardogsilva

Copy link
Copy Markdown
Contributor

This PR adds an additional media_type property to asset discovery configurations.

It notably also adds a bootstrap configuration that enables creating asset discovery configurations for most file types identified by the client.

Also included are some cosmetic changes to the listing pages of asset discovery confs, dataset categories and workflow stages


also catered for when category and workflow stage are empty
…date flows

subscribe_to_topic was an async generator, so its redis subscribe only ran on first iteration - after callers had already dispatched their .send() tasks.

A warmed-up worker could publish and lose completion events before anyone was listening, causing `bootstrap all` to hang waiting on events that had already been dropped. Split into open_topic_subscription (eager subscribe) and iter_topic_messages (listen loop), and updated all call sites to subscribe before sending.
@ricardogsilva
ricardogsilva marked this pull request as ready for review July 22, 2026 23:06
@ricardogsilva
ricardogsilva merged commit 0f67a06 into NaturalGIS:main Jul 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add a media-type property to asset discovery configurations

1 participant